<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			a {
				display: block;
				margin-top: 20px;
				text-decoration: none;
				color:#000;
			}
			a[class^='column'] {
				background: red;
			}
			a[href$="doc"] {
				background: green;
			}
			a[title*="box"] {
				background: blue;
			}
		</style>
	</head>

	<body>
		<a href="##" class="columnNews">我的背景想变成红色</a>
		<a href="##" class="columnVideo">我的背景想变成红色</a>
		<a href="##" class="columnAboutUs">我的背景想变成红色</a>
		<a href="1.doc">我的背景想变成绿色</a>
		<a href="2.doc">我的背景想变成绿色</a>
		<a href="##" title="this is a box">我的背景想变成蓝色</a>
		<a href="##" title="box1">我的背景想变成蓝色</a>
		<a href="##" title="there is two boxs">我的背景想变成蓝色</a>

	</body>

</html>